<template>
  <page-form :x-uri="uri" :x-tabs="tabs" save-btn-text="保存" :reset-btn-text="false" />
</template>

<script>
import PageForm from '@public/template/page_form.vue';

export default {
  components: {
    PageForm
  },
  data() {
    return {
      uri: 'admin/system/package/payment/' + this.$route.params.gateway + '/config',
      tabs: [
        {
          title: '支付组件',
          uri: '/system/package/payment',
          meta: {
            permission: 'system.package.payment'
          }
        },
        {
          title: '配置',
          uri: '/system/package/payment/' + this.$route.params.gateway + '/config',
          meta: {
            permission: 'system.package.payment'
          }
        }
      ]
    };
  }
};
</script>
